<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    var maximumValue = function (strs) {
      let ans = 0;
      for (let s of strs) {
        if (isNaN(Number(s))) {
          ans = Math.max(ans, s.length);
        } else {
          ans = Math.max(ans, Number(s));
        }
      }
      return ans;
    };
    console.log(maximumValue(["alic3", "bob", "3", "4", "00000"]))
  </script>
</body>

</html>